Skip to content

Conversation

@MahdiBaghbani
Copy link

@MahdiBaghbani MahdiBaghbani commented Oct 26, 2025

Although this PR is referenced under cs3org/OCM-STA#1, it is not directly part of the STA funded work. However, since the changes are closely related and beneficial to OCM, I decided to port them here as well for consistency.

This PR depends on this PR owncloud/reva#432 to be merged in Reva.

Description

This PR adds "Where Are You From" configuration support for the Reva OCM service, enabling federation discovery functionality for Web application.

Technical

  • OCM Configuration: Added two new configuration fields to ScienceMesh struct:

    • Federations: Path to JSON file for storing OCM federations data (default: {basepath}/federations.json)
    • InviteAcceptDialog: Frontend URL for landing when receiving an invitation (default: /open-cloud-mesh/accept-invite)
  • Reva Integration: Updated OCM service configuration to pass WAYF related settings:

    • Added invite_accept_dialog to well-known OCM provider configuration
    • Added federations_file to ScienceMesh configuration
  • Proxy Routes: Added two new unprotected endpoints for WAYF public access:

    • /sciencemesh/federations Federation listing endpoint
    • /sciencemesh/discover Federation discovery endpoint

add: changelog

Signed-off-by: Mahdi Baghbani <[email protected]>
@MahdiBaghbani MahdiBaghbani changed the base branch from release-7.1.1 to master October 26, 2025 19:39
@MahdiBaghbani MahdiBaghbani changed the base branch from master to mahdi-incoming-7.1 October 26, 2025 19:41
@MahdiBaghbani
Copy link
Author

@2403905 I'm not sure which upstream branch to target for this 😄

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant